package com.yc.supermarket.entity;

public class Collect {
    private Integer userId;
    private Integer commodityId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Collect(Integer userId, Integer commodityId) {
        this.userId = userId;
        this.commodityId = commodityId;
    }

    public Collect() {
    }

    @Override
    public String toString() {
        return "Collect{" +
                "userId=" + userId +
                ", commodityId=" + commodityId +
                '}';
    }
}
